#ifndef TOON_SHADING_SAMPLE_H
#define TOON_SHADING_SAMPLE_H
#include "SampleBase.h"
#include "objmesh.h"
#include "glm\glm.hpp"
#include "glslprogram.h"
namespace ShaderLab {
	class ToonShadingSample : public SampleBase {
	public:
		ToonShadingSample();
		~ToonShadingSample();

		void Init();
		void Update(float time);
		void Render();
		void Imgui();
		void ShutDown();
	public:
		void CreateShader();
	private:
		GLSLProgram program;
		std::unique_ptr<ObjMesh> cowMesh;
		glm::mat4 model, view, projection;
	};
}
#endif // !TEMPLATE_SAMPLE_H

